package com.clt.ess.CABeen;

import java.io.Serializable;

//证书吊销请求客户端请求业务参数data（同步）
public class RevokeSealCertRequestData implements Serializable {
    //用于区分请求列表单个请求的业务编码
    //必须
    private String requestID;
    //签名证书序列号
    //必须
    private String serialNumber;

    /**
     {
         " requestID ": "0",
         " serialNumber ": "签名证书序列号"
     }
     */

    public RevokeSealCertRequestData() {
    }

    public RevokeSealCertRequestData(String requestID, String serialNumber) {
        this.requestID = requestID;
        this.serialNumber = serialNumber;
    }

    public String getRequestID() {
        return requestID;
    }

    public void setRequestID(String requestID) {
        this.requestID = requestID;
    }

    public String getSerialNumber() {
        return serialNumber;
    }

    public void setSerialNumber(String serialNumber) {
        this.serialNumber = serialNumber;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("{");
        sb.append("\"requestID\":\"")
                .append(requestID).append('\"');
        sb.append(",\"serialNumber\":\"")
                .append(serialNumber).append('\"');
        sb.append('}');
        return sb.toString();
    }
}
